package com.hnkywl.sts.entity.base;

import com.hnkywl.sts.entity.BaseEntity;
import com.hnkywl.sts.entity.sys.Yg;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;
import org.hibernate.annotations.Where;

import javax.persistence.*;
import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-5-20
 * Time: 下午8:39
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "T_SYS_DXRZ")
@Where(clause = "deleted!='1'")
public class Dxrz extends BaseEntity {
    @Id
    @SequenceGenerator(name = "seqDxrz", allocationSize = 1, sequenceName = "SEQ_SYS_DXRZ")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seqDxrz")
    private Long id;

    /**
     * 发送人集合
     */
    private String fsrXms;

    /**
     * 发送号码集合
     */
    private String fshms;

    /**
     * 发送日期
     */
    private Date fsrq;

    /**
     * 发送内容
     */
    private String content;
    /**
     * 是否发送成功
     */
    private Boolean sffscg;
    /**
     * 反馈失败信息
     */
    private String errormessage;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Boolean getSffscg() {
        return sffscg;
    }

    public void setSffscg(Boolean sffscg) {
        this.sffscg = sffscg;
    }

    public String getErrormessage() {
        return errormessage;
    }

    public void setErrormessage(String errormessage) {
        this.errormessage = errormessage;
    }

    public String getFsrXms() {
        return fsrXms;
    }

    public void setFsrXms(String fsrXms) {
        this.fsrXms = fsrXms;
    }

    public String getFshms() {
        return fshms;
    }

    public void setFshms(String fshms) {
        this.fshms = fshms;
    }

    public Date getFsrq() {
        return fsrq;
    }

    public void setFsrq(Date fsrq) {
        this.fsrq = fsrq;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

}
